<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
        <meta http-equiv="x-ua-compatible" content="ie=7" />
        <title>{$title}</title>
        <link href="{:C('WEB_URL')}Public/admin/style/base.css" rel="stylesheet" type="text/css" />
        <link href="{:C('WEB_URL')}Public/admin/style/master.css" rel="stylesheet" type="text/css" />
        <script type="text/javascript" src="{:C('WEB_URL')}Public/admin/js/jquery1.9.1.js"></script>
        <script type="text/javascript" src="{:C('WEB_URL')}Public/admin/js/base.js"></script>
    </head>
    <body>
        <div id="wrapper">
            <h2>楼层管理<a href="{:U('flist')}">返回</a></h2>
            <form action="{:U('fsave')}" method="post" enctype="multipart/form-data" id="myform">
                <table class="form" >
                    <tr>
                        <td class="tkey">所属商场:</td>
                        <td>

                            <select name='market_id' style="width:150px;">
                            <volist name="list" id="vo">
							<option <?php if($data['market_id']==$vo['market_id']){echo 'selected';} ?> value="{$vo['market_id']}">{$vo['market_name']}</option>
                            </volist>
							</select>
						</td>
                    </tr>
                    <tr>
                        <td class="tkey">楼层名称:</td>
                        <td><input type="text" name="floor_name" value="{$data['floor_name']}" class="inputText" /></td>
                    </tr>
                    <tr>
                        <td class="tkey w160">商场小图:</td>
						<td>
							<?php if($data['floor_img']){ ?>
							<img src="{:C('WEB_URL')}{$data['floor_img']}" style="width:200px">
							<?php }else{ ?>
							请上传图片
							<?php } ?>
							<input type="file" name="file"  />
						</td>
                    </tr>
                    <tr>
                        <td class="tkey">&nbsp;</td>
						<input type="hidden" name ='floor_id' value="{$data['floor_id']}">
                        <td><input type="submit" value="确定" class="btnOrange" /></td>
                    </tr>
                </table>
            </form>
        </div>
       
        <style>
            .picList li{float:left;margin:0 10px;}
            .picList li a{display:block;text-align:center;color:#f60}
        </style>
		
		<script>

	</script>
</body>
</html>